package com.zone.lib.download;

public class DownloadConstant {

    public static final String APP_STATUS_ACTION = "app_status_action";
    public static final String APP_CHECK_ACTION = "app_check_action";
    public static final String ACTION_PRE = "action_";
    public static final String REFRESH_TASK = "REFRESH_TASK";

    /**
     * 下载过程会通过发送广播, 广播通过intent携带文件数据的 信息。
     * intent 的key值就是该字段
     * eg : FileInfo fileInfo = (FileInfo) intent.getSerializableExtra(DownloadConstant.EXTRA_INTENT_DOWNLOAD);
     */
    public static final String EXTRA_INTENT_APP_STATUS = "super_app_status_extra";
    public static final String EXTRA_INTENT_APP_STATUS_APP = "super_app_status_extra_app";

    public static final String JD_ACTION_INSTALL = "com.jingdong.manto.pkg.action";
    public static final String JD_EVENT_DOWNLOADED = "downloaded";
    public static final String JD_EVENT_DELETED = "deleted";
}
